package com.example.petshopping.model;

import com.google.gson.annotations.SerializedName;

/**
 * 社交登录请求参数
 */
public class SocialLoginRequest {

    @SerializedName("type")
    private Integer type; // 社交平台类型

    @SerializedName("code")
    private String code; // 授权码

    @SerializedName("state")
    private String state; // 状态码

    public SocialLoginRequest(Integer type, String code, String state) {
        this.type = type;
        this.code = code;
        this.state = state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
} 